<?php
class upload {
	
	public $base;
	public $upload;
	
	function __construct($base) {
		$this->base = $base;
		//load model upload
		$this->base->loadmodel('upload');
		$this->upload = new upload($this->base);
		//load view upload 
		$this->base->loadview('upload');
		
	}
	
}
?>